package com.group3.pojo.receive;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName TAddWorkReceive
 * @Author jt-sinlio
 * @Time 2021/6/19 19:11
 **/
@Data
public class TAddWorkReceive {
    @ApiModelProperty(value = "操作老师id",required = true)
    private String teacherId;

    @ApiModelProperty(value = "作业主题",required = true)
    private String workTheme;

    @ApiModelProperty(value = "计划完成时间",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date completionTime;

    @ApiModelProperty(value = "课程",required = true)
    private String lessonName;

    @ApiModelProperty(value = "作业类型",required = true)
    private Integer type;

    @ApiModelProperty(value = "作业内容",required = true)
    private String content;

    @ApiModelProperty(value = "做作业的人",required = true)
    private List<String> students;

    @ApiModelProperty(value = "附件列表")
    private List<String> files;
}
